﻿using System;

namespace enyo
{
    /// <summary>
    /// An asynchronous controller handling Palm Service (LS2) requests.
    /// </summary>
    public class PalmService : Service
    {
        /// <summary>
        /// name of method to call
        /// </summary>
        public string Method{get;set;}

        /// <summary>
        /// should be true if you're calling a method that returns multiple results
        /// </summary>
        public bool Subscribe{get;set;}

        /// <summary>
        /// set to true to have your subscription automatically restarted when it gets a failure response
        /// </summary>
        public bool Resubscribe{get;set;}

        /// <summary>
        /// object containing parameters for the service call
        /// </summary>
        public object Params{get;set;}

    }
}
